package com.hlkj.baojin.service;

import com.hlkj.baojin.entity.DutyLog;
import com.hlkj.baojin.entity.dto.DutyDto;
import com.hlkj.baojin.entity.dto.DutyLogSearchDto;
import com.hlkj.baojin.entity.dto.DutySearchDto;
import com.hlkj.baojin.utils.bean.JsonResult;
import java.util.List;

/**
 * @author HULIN
 * @created with: baojin
 * @package com.hlkj.baojin.service
 * @description:
 * @date 2019/1/29 13:27
 * @modified By:
 * @Copyright © 2018 HAILIANG Info. Tech Ltd. All rights reserved.
 */
public interface IDutyService {

    void saveDuty(DutyDto dutyDto);

    void updateDuty(DutyDto dutyDto);

    JsonResult findDuty(DutySearchDto dutySearchDto);

    void deleteDuty(String dutyId);

    void statusDuty(String dutyId);

    void dateLogGenerate(String dutyId, Long start, Long end);

    List<DutyLog> getDutyLog(DutyLogSearchDto dutyLogSearchDto);
}
